package com.crayon.account.data;

import com.crayon.account.dao.DAOCategory;
import com.crayon.account.dao.DAORoot;

public class ItemList extends DAORoot{
	
	Class classType;
	EDAType type;
	String title;
	Object tag;
	
	
	public ItemList(String title,EDAType type){
		super();
		this.title=title;
		setSummary(title);
		
		this.type = type;
	}
	public ItemList(DAOCategory daoRoot,Object tag){
		super(daoRoot);
		this.tag = tag;
		this.title = daoRoot.getUniqueName();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	public EDAType getType() {
		return type;
	}
	public void setType(EDAType type) {
		this.type = type;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return getTitle();
	}
	public Class getClassType() {
		return classType;
	}
	public void setClassType(Class classType) {
		this.classType = classType;
	}
	public Object getTag() {
		return tag;
	}
	public void setTag(Object tag) {
		this.tag = tag;
	}

	
}
